package com.cci.kangdao.service;

import com.cci.kangdao.dao.model.UserT;
import com.cci.kangdao.dao.model.WorkOrderT;
import org.springframework.scheduling.annotation.Async;

import java.util.List;
import java.util.Map;

/**
 * @author William Du
 * @date 2019/11/7
 */
public interface TrackService {

    String createTrace(Map<String,Object> orderMap);

    void uploadTrace(WorkOrderT workOrderT, List<Map<String,Object>> locationMapList,String IMEI);

    Map<String,Object> getWorkOrderDistance(WorkOrderT workOrderT);

    Map<String, Object> getGDProperties(WorkOrderT workOrderT);

    @Async
    @Deprecated
    void downloadTrace(WorkOrderT workOrderT, UserT userT);

    void getOrderTrackInfos(Map<String,Object> map);

}
